#ifndef __HANDLE_COMMAND__
#define __HANDLE_COMMAND__
#include <sys/socket.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include "train.h"
typedef enum {
    QUIT=0,
    CD,
    PWD,
    LS,
    GETS,
    PUTS,
    REMOVE,
    MKDIR,
    RMDIR,
    REGISTER,
    CRESTE,
    DELETE,
} CommandType;
int handle_command(int netfd,char*arr);
#endif
